package com.qumall.boot.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "健康检查")
@RestController
@Slf4j
public class HealthController {

    @GetMapping("/health")
    @ApiOperation(value = "健康检查")
    public String health() {
        return "OK";
    }

}
